package com.kws.system.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.kws.system.domain.TbMerchantUserChat;
import com.kws.system.domain.info.QueryChatRecordsInfo;
import com.kws.system.domain.vo.QueryChatRecordsRq;
import com.kws.system.mapper.ChatRecordsMapper;
import com.kws.system.service.ChatRecordsService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

/**
 * <b>ChatRecordsServiceImpl</b>
 *
 * @description: ChatRecordsServiceImpl <br>
 * @date: 2024/12/6 17:50 <br>
 * @author: lhm <br>
 * @version: 1.0 <br>
 */

@Service
public class ChatRecordsServiceImpl extends ServiceImpl<ChatRecordsMapper, TbMerchantUserChat> implements ChatRecordsService {
    private static final Logger logger = LoggerFactory.getLogger(ChatRecordsServiceImpl.class);

    /**
     * 分页查询聊天记录列表
     * @param rq
     * @return
     */
    @Override
    public Page<QueryChatRecordsInfo> queryChatRecordsPage(QueryChatRecordsRq rq) {
        Page<QueryChatRecordsInfo> page = new Page<>(rq.getPageNum(),rq.getPageSize());

        return null;
    }
}
